package com.ruoyi.postComplain.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 帖子举报表 com_post_complain
 * 
 * @author ruoyi
 * @date 2019-10-14
 */
public class PostComplain extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 帖子ID */
	private Integer postId;
	/** 举报内容 */
	private String complainContent;
	/** 举报用户ID */
	private Integer complainUserId;
	/** 举报审核 0待审核  1忽略  2隐藏 */
	private String complainVerify;
	/** 有效值 */
	private Integer valid;
	/** 建立日期 */
	private Date createDate;
	/** 修改日期 */
	private Date modifyDate;

	private String complainUserName;

	public String getComplainUserName() {
		return complainUserName;
	}

	public void setComplainUserName(String complainUserName) {
		this.complainUserName = complainUserName;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setPostId(Integer postId) 
	{
		this.postId = postId;
	}

	public Integer getPostId() 
	{
		return postId;
	}
	public void setComplainContent(String complainContent) 
	{
		this.complainContent = complainContent;
	}

	public String getComplainContent() 
	{
		return complainContent;
	}
	public void setComplainUserId(Integer complainUserId) 
	{
		this.complainUserId = complainUserId;
	}

	public Integer getComplainUserId() 
	{
		return complainUserId;
	}
	public void setComplainVerify(String complainVerify) 
	{
		this.complainVerify = complainVerify;
	}

	public String getComplainVerify() 
	{
		return complainVerify;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setModifyDate(Date modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public Date getModifyDate() 
	{
		return modifyDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("postId", getPostId())
            .append("complainContent", getComplainContent())
            .append("complainUserId", getComplainUserId())
            .append("complainVerify", getComplainVerify())
            .append("valid", getValid())
            .append("createDate", getCreateDate())
            .append("modifyDate", getModifyDate())
			.append("complainUserName", getComplainUserName())
            .toString();
    }
}
